package com.example.util;

import com.example.model.WxbOrder;

import java.util.List;

public interface OrderService {
    public WxbOrder insertOrder(WxbOrder order) throws Exception;

    List<WxbOrder> findAll(String customerId);

    List<WxbOrder> findByAll(String userId);

    public void updateState(int state, List<String> ids)throws Exception;

    WxbOrder findById(Long oid);

    void delect(Long oid);

    WxbOrder findAndId(Long oid);

    public void updateAlipayState(String orderId);
}
